package com.woniuxy.three.pms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.woniuxy.three.pms.bean.GuestBean;
import com.woniuxy.three.pms.bean.HotelBean;

public interface HotelBeanMapper {
    int deleteById(int id);

    int insert(HotelBean record);

    int insertSelective(HotelBean record);

    HotelBean selectByName(String name);

    int updateByPrimaryKeySelective(HotelBean record);

    int updateByName(@Param("bean")HotelBean bean,@Param("hname")String hname);

	List<HotelBean> selectAll();

}